#ifndef NANE_TEST1_H
#   define NANE_TEST1_H

#   include "nane/testframework/testframework.h"
#   include "cml/cml.h"

namespace nane
{
    class Test1
        : public TestFramework
    {
    public:
        void OnSetup();
        void OnUpdate( uint32 _dt );
        void OnRender();
        void OnShutdown();

    public:
        void setPixel( int _x, int _y, bool _set );
        void playBeep( float _x, float _y, float _z );

    private:
        VertexBuffer m_pVB;
        IndexBuffer m_pIB;
        VertexShader m_vs;
        PixelShader m_ps;
        ConstantBuffer m_constantBuffer;
        Texture m_pTexture;
        ScriptModule m_scriptModule;
        SoundSource m_music;
        SoundSource3D m_beep;
        //cml::matrix44f_r m_world;
        cml::matrix44f_r m_view;
        cml::matrix44f_r m_proj;
    };

}   // namespace nane

#endif	// NANE_TEST1_H
